This option provides two programming language features that are useful only for people who already know how to program. It defines the two commands
\ifthenelse{ test}{ then clause}{ else clause}
\whiledo{ test}{ do clause}
|
if test then then clause |
\value{page}>3
.
\equal{
string1}{
string2}
, which evaluates to true if string1 and string2 are the same strings of characters after
all commands have been replaced by their definitions. (Upper- and
lowercase letters are unequal.)
\or
, \and
,
and \not
and the parentheses \(
and \)
—for example:
\not \( \value{section} = 1 \and \equal{Jones}{\myname} \)
\protect
command works in these situations.
These commands, together with \renewcommand
and the
commands of Section C.7.4 for manipulating counters, open up a whole
new world of hacking.